Cleanup generated hs file for test suite