More unit tests, wrote shifting opcode functions.