Add relational operators for optional component.

Add test skeleton for optional component relational operators.