Adding tests for conversion