selftests/bpf: Add type-match checks to type-based tests