moved test for invalid response to new tests