Added test case for vertical offset