Changed test so that it will also test the Post method of the
JsonRequest.