Added bitwise tests and fixed shift reg 15 errors