testing candidate generation