Added horizontal and vertical target tests.