Added test for bitwise and arithmetic shift operations