Add stdin for tests failed on grid