added tests
updated readme