refactor test executor for testing task manager, executor, and bsp peer container procedure.