Added unit tests and beefed up the README file.