Add some tests & fix resolving from view.stop to url