tests: Add test of truncating snapshots

Add a test which will test many possible ways of truncating a chunk
which need to be duplicated (eg. up and down, to the block boundary or
not). This test should test all possible cases when truncating a single
chunk.

Change-Id: I94d43e2d1f61951b44432e09d011e22fdf7e493d