Create some adapters so we can mock these out for unit testing
Add urlState unit tests
Merge pull request #1731 from kdeloach/topic/urlstate-tests

Add urlState unit tests