Fix deprecation warnings in tests for Django 1.7 ModelForms