To master

Add SelectFirstHorizontal() to autotests.