added test-path for .hash files and extra logging logic