(tests) Add new unit tests from old test suite
(tests) Add old Pattern4 test to new test suite
(tests) Add new test from old test suite
(tests) New test on type conversion error
(tests) Adds another test on type checking
(tests) Another test for type definition size value
(tests) Minor fixes