tests refactoring
subcategory dao tests