setting up spec for inmemory database