Basic unit tests

https://trello.com/c/ObThuTMy/1755-proper-testsuite-for-api-blueprint-api-app