Test new fitsBits function

Find remaining number of leftmost bits after using n bits.

Move those bits off the stack (shift left), then back onto the stack
(shift right). This should replace those remaining left bits with 0's.

Check that the new value with removed bits matches x.