Repair test_db fails on Travis