add a UNIT_TESTING flag to settings so you can do logic based on it