Adding ajax before and after simple unit test.