fixed python3 string equality assertions