Fixes test_coverage_recovery

This adds a quick check to see if `h5stat` is available in PATH and to
fixes a bug with the working directory being the elected temp directory.