Playing with Ajax and unit testing.