tests/pathslicing: improve tests for the check() method
validate we do have the expected error, namely 'not a gzip' and 'wrong hash id'.