LPS-51680 Unit tests to cover data conversion

cc @pablocp