test setFeatures