Tests for #204
test type()