resourceloader: Add coverage for StartupModule::getAllModuleHashes