Additional test using def for check type, register in context