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