fix test: adapt Python3