Readme update and api change
Adding more tests