advanced shifter with tests (no carry out implemented yet)