updated tests and read me