added unit tests
a README file would be nice