Remove tests that never passed to begin with
Remove obsolete tests
Fix bug under Python 2.7