Testing string type and allowing to use a lambda in attribute example option