Tests appjs ajax calls