Moved defined methods to common shared examples.
Added OptProc common test sets.