tests correction to py 3