Added a "check" target to run the testsuite.