rm logging
extract creating urls for tests out into own file