add tests for nanops
BUG: DatetimeIndex.insert doesnt preserve name and tz
Merge pull request #7427 from toddrjen/nantest

add unit tests for nanops
Merge pull request #7386 from sinhrks/insert_fix

BUG: Revisit DatetimeIndex.insert doesnt preserve name and tz
TST/CLN: centralize module check funcs