Testing the logged errors for invalid requests