fix test failures MeasuresControllerTest