updated readme
added tests