Print cipher class name instead of toString
Extract cipher tests to its own method