Fixing tests to work with python 2.6
Fixing test_stacklog for python 2.6
Merge pull request #165 from ramielrowe/master

Fixing tests for 2.6