fix off-by-one error in register variable naming
run testsuite in strict mode
add test case for #288
make some test cases compile with GHC 7.10