Added tests and a bit of a README file.