Did tests for left rotate function