bugfix in string.cipher method, updated spectests