utest: check the valid return values of get_width/height on surface tests