Enhancements for the Django test command and testing utility code