use in_memory database for simulate_transits