adding ajax tests