server: add tests for on-disk snapshot