changed testing database from filesystem to memory