Updated integration test to test post with application/json as content-type