Added dao tests