Update test system to create temporary database during tests