Use of mean residual life in testing departures from exponentiality