Merge pull request #15 from wagh/devel

Enhanced assertion in example files