Update makefile to run tests

- Also add expected output file for tests.

The test will generate an actual.txt file and compare that with the
expected output.

I'm not sure where in the README.md you'd want to put an instruction for running the tests, so I left that.