added tests for POST