test for best candidate