Lines 206-209 and 224-224 are not needed. You are not actually testing anything about the ajax responses.