Added tests for API refactor. Updated readme.