Test for luminance and alpha mask