updated readme and changelog and improved tests