broke typetest into typetest and patterns