I think the test code should be consistent with the application code in returning the terminating statement of the function.