Fixed failing unit test.
Fixed some unit tests.
Fixed bug with missing primitive types in is/as type list.