port Test.hs to Tasty and refactor for other api changes
Merge branch 'master' into linear