Initialize test_mode to false