Funcion for ranking journals working. All Tests are passing.