Create stdin,-out,err pipes in Start() method, some fixes in tests