document short-circuiting test_mode!