Fixed fstat mocked test.