Adding more unit tests, redefining slope for vertical and horizontal lines