refactor ceaser cipher test