Fix tests broken by lazy module requiring.