Fix for urls without mutable parts

Fix for urls without mutable parts
Propagate exceptions in tests