unittests: Fix pserver tests