More unit tests for Xapi_pgpu_helpers.ml