Testing utilities for django tests