test a function which provide params to PiggyBack scripts