ajax request tests