unittest for /post