Fix test/improve tests a bit in py27
Fix test/improve tests a bit in py27

RonnyPfannschmidt/pytest,markshao/pytest,nicoddemus/pytest,nicoddemus/pytest,tomviner/pytest,alfredodeza/pytest,The-Compiler/pytest,pytest-dev/pytest,The-Compiler/pytest,tomviner/pytest,hackebrot/pytest,Akasurde/pytest