Hamas election will test Harper's diplomacy