refactored url strings out of tests