Added unit tests for ProductRanker