First test case for keep-with-previous. Added checks for the "within-column" part for all three test cases.