fix testConstructor
implement testPost*()