"Section 142 provides: Section 54 [which provides the right not to be unfairly dismissed] does not apply to dismissal from employment under a contract for a fixed term of one year or more, where the dismissal consists only of the expiry of the term without its being renewed, if before the term so expires the employee has agreed in writing to exclude any claim in respect of rights under that section in relation to that contract. Subsection (2) makes similar provisions for exclusion of redundancy payment and subsection (3) provides that the agreement mentioned in subsection (1) or (2) might be contained in the contract itself or in a separate agreement."