adapt tests to handle visitors requests