Fixing specs and memoization for italic-stripping function