Wrote tests for RarityMap