Add an event listener in MatchTexture test