Added test case with an shift amount > 3.