added tests, modified read me