JS type check tests enhanced