Fix Msf::Simple::Module spec

MSP-9228

Ensure framework is set before testing save and log of config as those
methods use framework.pathnames.file.
Fix VirusTotal spec

MSP-9228