updated readme and tests