updated README
removed redundant code from tests
updated tests to match new API