added test cases to measurement junit test