adding unit tests, updating readme