elaborate the django test function