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.
it sounds like indentation is not good .. probably on original code .. using space vs tab