Changing the allowed hosts from a string to an array and updating the tests to go with this