Adds tests to Ajax