Add tests for select-left, fix first line