Updated test to test global availability of ajax function.