Fix error when 'type' property is null or undefined
Add select tag test (single, multiple)