TST add test for PolynomialFeatures() output dtype