WIP: user unit tests

unit tests for attributes and form validations