This patch aimed at master, refactors the unit tests for IFingerprinter implementations, providing the unit tests for a few bugs to all implementations.
Rajarshi, you are most familiar with the IFingerprinter code; can you (as a minimum) review the two patches?
You will likely notice that a few unit tests are actually failing. This means either the unit test for those bug reports contain bugs, or the IFingerprinter implementation does, IMHO. This needs to be explored separately.
Patches look good. Applied to master and pushed to GitHub