You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: gzip_test.go
    path of file: ./repos/rclone/lib/readers
    
    the code of the file until where you have to start completion: package readers

import (
	"bytes"
	"compress/gzip"
	"io"
	"testing"
    
func TestGzipReader(t *testing.T) {
	// Create some compressed data
	data := random.String(1000)
	var out bytes.Buffer
	zw := gzip.NewWriter(&out)
	_, err := io.Copy(zw, bytes.NewBufferString(data))
	require.NoError(t, err)
	require.NoError(t, zw.Close())
	gzData := out.Bytes()

	// Check we can decompress it
	cc := &checkClose{Reader: bytes.NewBuffer(gzData)}
	var decompressed bytes.Buffer
	zr, err := NewGzipReader(cc)
	require.NoError(t, err)
	_, err = io.Copy(&decompressed, zr)
	require.NoError(t, err)
	assert.Equal(t, data, decompressed.String())

	// Check the underlying close gets called
	assert.False(t, cc.closed)
	require.NoError(t, zr.Close())
	assert.True(t, cc.closed)
}