Add tests

Add unit tests for Ricerca.
Note this includes a test for the modified rankingWrapper which returns scores from PR #1.