Add tests for posts controller
Add more tests
Tweak readme
Add API reference to readme