Add testing of setting and restoring numeric operations.
Add testing of setting and restoring numeric operations.

numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor