example of testing ajax