Prepare for testing with Django 1.6