more unit tests, reversed the MRO for validator lookup, added comments.