MessageDao implementation (partial) and trying with test case