Merge "Add unit tests for convert (with relaxed precision)." into jb-dev