added better test
updated readme and package.json