Fix the disallow_unknown_properties option

the disallow_unknown_properties option when set to True, prevented array validation. fixed the code and the test that had a faulty schema.