Correctly return a value from the test suite.
Add a Makefile for building and running the tests.