Updated tests to work with both Python 2.6 and 3.3, and made it possible to import them without running them for the upcoming channel repository tools package