Added an ALLOWED_HOSTS parameter to hosts tests setup