Implement test for custom opion.