Unit tests for measurement environment

Change-Id: I263e283689c3474c63cb723a09a550904d884b6c
Signed-off-by: Alexander Wert <alexander.wert@sap.com>