Added nillable attribute and tests
Added tests for element_form_default