added test for making first ajax request