Tests - Update syntax and improve implementation

Update syntax, style, documentation and contracts for the testing suite.

Replace Assigment attempt with object test.
USe across loops instead of traditional loops.
Use a better implementation for converters.