Added unit test to repo. README updated.