Less restrictive check in nested_set_options
Now checking against 'each' method instead of Array datatype
adding tests for modified helper