Utilities for testing Django applications