refining route/db tests