Fix unit tests for the `jpl` example when using YAP as the back-end Prolog compiler