fix tests to work with any host