added custom matchers to validate arrays