Implement two commands rather than one: goto_test and generate_test