Fix test suite build with GHC 7.0.x
Fix test suite execution when run under Jenkins