Adding regression tests.

* coverage for datastore.