Added test for HWWRegister internals, fixed Feistel bug