added tests
added tests to readme