Ajax test for spring framework