Added unit test cases for POST methods