Implement lut_registry and adjust test precision