fixed tests and updated readme