Fix badge recommendation test.