Added test cases for shifting right functionality.