Add support for 16BUI grayscales + tests