wrote initial tests; url model