test optional vs test required