Fix some broken unit tests

* Made sure UserdataForm attributes are not required
  This helps with unit testing.