pf tests: test setting and retrieving timeout values
(cherry picked from commit 8ed5170c66ec4914e90c2f3657227ceb9e35193f)