adding safety to setURL
added a very basic layer switcher to the test