Fixed #371 -- examples CLI tests working again.
Merge pull request #378 from opdemand/example-apps-tests

Fixed #371 -- examples CLI tests working again.