Adding tests for configuration override handling.
Strip trailing '?' from channel to work around Python 2.6 urlparse behavior.