Repsonse handling tests