moved tests.hs to its own directory