Test structs have match function instead of clumsy helper bool.