Fix test to support different color channels reported by screenshots from Chrome