The version of PocketIC used in the Pic-JS beta doesn’t yet expose the agent-compatible server so that won’t work. It’s a high priority for me to get this done, I just haven’t had much time recently.
But out of curiosity, what are you trying to do that you need it?