Done, had to add stub for "Math.random" b/c the non-"any" case uses a random pipeId, but it's good to test that now.