Merge pull request #14 from wagh/devel

Enhanced assertion in example files