Remove unnecessary functions.

Remove unused functions in the test helper module.