Add little tests for ApiPost