missing #ifdef PF_TEST added