Added ajax-based client tests