Implemented first tests.
Fixed a typo in the converter.