Scrambler Unit Tests