Tests pass in python 3