renamed cipher test
extraced superclass AbstractCipher