Adding vertical diff code and test.