INSTALLED_APPS should take first the local settings or else running tests fails on ImportError don't understand exactly why.