get test.hs to work