The `\r` test has had to be deleted because jest doesn't properly save and parse the snapshot back. Fixes #883