TEST: added tests for image and volume quantization.