Add Ajax xhr success test code