Ajax test and functionality implemented.