add test for grey convert and grey dump