add measurement in test method