added tests for all horizontal lines
added tests for all vertical lines