validate_features as function, fix no_op tests