read all should return nil instead of empty string