A Haverhill officer is one of two people challenging a maximum age requirement in a civil service test