failing tests for json post request