Adding dao tests