Fixed tests.
Making tests against Cloudant a bit more safe.