Delete repeated test

Even if the test name was different between the tests 'badRequest' and
'errorWhileSendingErrorMessage', the setup and the assertions were
identical. In fact, the lines were exactly the same in the two tests.

Change-Id: I5923dd4e2294d3b368bec0274837e5f9088c3826
1 file changed