django test for ajax