Add dummy measure function and test.