commented test examples in functions