Added `make test` option.

TODO: seems to be compiling every time I run `make check` even when it is
unnecessary.