Notwithstanding sections 14-02.4-03 through 14-02.4-06, it is not a discriminatory practice for an employer to apply different standards of compensation, or different terms, conditions, or privileges of employment pursuant to a bona fide seniority or merit system, or a system which measures earnings by quantity or quality of production or to employees who work in different locations provided that the differences are not the result of an intention to discriminate because of race, color, religion, sex, national origin, age, physical or mental disability, status with respect to marriage or public assistance, or participation in lawful activity off the employer's premises during nonworking hours; or for an employer to give and to act upon the results of any professionally developed ability test; provided, that the test, its administration, or action upon the results is not designed, intended, or used to discriminate because of race, color, religion, sex, national origin, age, physical or mental disability, status with respect to marriage or public assistance, or participation in a lawful activity off the employer's premises during nonworking hours.
N.D.C.C. § 14-02.4-09