Make test py 2.6 compatible