Fixing django moth tests