Test unit to scopes in model