Fix overridable option fields.

Added a test and some java reflection to set all hidden fields to the child value.