Add a 'check' target for better testing.

This makes CTest output the results of failed tests, by default.