jquery rest call tests