Test ajax function added