API functional test: add HTTP status check to post()

Signed-off-by: Cleber Rosa <crosa@redhat.com>
API functional test: add test for /jobstatuses/

Signed-off-by: Cleber Rosa <crosa@redhat.com>
API Functional test: add test for /teststatuses/

Signed-off-by: Cleber Rosa <crosa@redhat.com>
API functional test: add test for /jobstatuses/ post

Signed-off-by: Cleber Rosa <crosa@redhat.com>
API functional test: add test for /teststatuses/ post

Signed-off-by: Cleber Rosa <crosa@redhat.com>
API functional test: get() already checks status

Signed-off-by: Cleber Rosa <crosa@redhat.com>