Small changes to Ajax tests