Add tests for fetchFullHashes.