type tests added