flesh out top_candidates test, closes #420