stubbing out datastore manager methods and tests