Fix a couple broken tests (check lookup in createJoinTransformation)