add tests, fix POST request, add more examples