fix type tests