Fixed some errors in the TestPrecisionInTopN class