added more unit tests; updated readme