updated readme and unit tests