Make check an alias for test.

Ideally, the test suite would use the make check stuff properly, but
this is sufficient to allow things like "make distcheck" to work.