added getMessages test for allOf validator