test cps func app