Add a trivial unit test and a README saying how to run tests.