Assert::type checks $type