fully tested, roundtrip measurement test added