Add test for error reflection
Add missing tests to Cabal file