TEST: testing Nones as return values from quantization functions, as well as constant images as input