Change typeOf type
[test] add more tests