fixed broken unit tests from migrating to precise and not supporting python2.5
Merge pull request #340 from shatterednirvana/fixed-precise-unit-tests

fixed broken unit tests from migrating to precise and not supporting python 2.5