added test memory database initialization