unittests: use assertEqual()
Fix build for Django 1.5