Added tests for measurement storing