Updated fingerprint test to cover the class 100%, refactored the fingerprint class and caught a small bug