Complete CompanyUserScopeDAO and relevent test cases