Fixes unit test (stat failure)