Initial commit for adding attributes at form instantiation
Add unittest, make the object work
Update test to test properties as well