Rebase to core-8-5-branch
Add "testfork" test command to be usable in testcase.