Base for django test cases