Test for validating choices option on document init.