Finishing tests
Use NSInteger instead of NSUInteger.
Update readme.
Updated API.