Added test for commit() (setting properties)
Comments
Improved and commented tests
Added test suite