unit-tests: Add tests for RSA fingerprints and encoding