Enable test mode
Rename _debug_mode to _test_mode