Merge remote branch 'cloudant:changes-tests-refactoring'

This closes #180

Signed-off-by: Eric Avdey <eiri@eiri.ca>