test type patterns