Fix testing_database path using TEST_DIR path