Add tests for the HTTP POST method
Fix typo in test method name
Put test for HTTP POST failure