Add api controller test
Add test helpers for response headers & body