[dao] added unit test to validate measure dao