Restore unintentionally deleted tests

Restore unintentionally deleted tests in PR https://github.com/cloudant/CDTDatastore/pull/64 as discovered by @gadamc.


@gadamc have I restored all the missing tests?