Creating custom test cases for single-function questions