Adds two tests for horizontal graphs, and fixes some warnings exposed by them