Testing for linearity in boundary regression models with application to maximal life expectancies