added unit test for horizontal MATCH, fdo#71589

Change-Id: Ib3195870e708db49448d68d262611561c68ddcc6
(cherry picked from commit 7d1c2f227d9e0eeb518b52c9a8251c043927d76e)