Finished writing unit tests for conversion