Unit tests for daos + sketch of service layer