baffeled by ajax testing