Add decorator as explicit test dependency
Add decorator as explicit test dependency.

We use `decorator` library in our CI test since PR:
- #4845

However we did not add it as an explicit test requirement, and we depended on it indirectly through other libraries' dependencies.

I discovered this while testing Numpy 2.0 and removing incompatible libraries.