Complete implementation of tests for convert.js