Add "test_mode" setting