Add test case for an issue: snapshots saved in a file and in memory have different headers.
The latter snapshots cannot be parsed by the viewer.