Added unit tests for specifying the datastore.