Added utilities for Django unit testing