Use pid_test only when compiling the plugin that uses it