test/lib: Implement process_init change in testcases