correcting bugs in the converters and adding new test cases