Merge pull request #7427 from toddrjen/nantest

add unit tests for nanops
make nanops._maybe_null_out work with complex numbers ( issue #7353 )