overhaul of feature_test class. Added aggregate.feature_test