Adding tests for Location.icon, Location.setActive and Location.isActive.