Add test for computeFingerprint