Custom Tomography conversion implementation and tests