fix ajax test