Add Travis badge to README
Add some tests
Change expectation error message
Write API in README