environmentDatabase should return a Database object
testMockEnvironmentDatabaseCall and some cleanup