Initiate the app registry in tests for Django 1.7+