test headers sending and runInSeparateProcess