add rake task to get all 1-class and 2-class friends id
let search action can specify result type to test easily