add consumes declaration to examples

add consumes declaration to example and test analyzers