Fix tests of the `multifile/1` directive to avoid discontiguous predicate issues with some backend Prolog compilers such as GNU Prolog