Add test for required attribute
Add required attribute to InputNumber