Anti-terror plans face Lords test