flowp.system: improved import mock in tests