Add code in fingerprint_database.rb for tests in fingerprint_database_spec.rb