Adding test for custom option inheritance.