Added unit tests
Fixed bugs and all tests now pass
Updated unit tests for more coverage
Updated readme, added more test coverage