Don't use `self.master_opts`
Don't use deprecated `self.minion_opts`
Add missing import
Fix import
Import `path` from `salttesting.mock` in order not to trigger `ImportError`s
Fix `skipIf` import
Adapt the test for the new module name(and any future renames)
Use the non-compiled filename extension