set test_mode to false by default