add tests for 'is' and 'type'