Add test for Scrambler class