fixed errors in readme
updated readme and improved tests