Added failing unit test for dao