Added tests for StateMasterDao