test suite for cipher