test/cleanup handleResponse errors