add type tests