First tests for cipher