def get_test_data_rdd(sc, X_test_path):
    """
    sc: type sparckContext
    X_test_path: type str, the path for the X_test data document, which contains the hash codes
    return: type rdd, a rdd where each record contains a document content and its zipped index in ascendind order (the zipped index will be used for output predictions)
    """
    print('****************************')
    print('Reading Test Data\n') 

    X_test = sc.textFile(X_test_path)
    X_test_idx = X_test.zipWithIndex()
    X_test_files = X_test.map(lambda row: 'gs://uga-dsp/project1/data/bytes/' + row + '.bytes').reduce(lambda a, b: a + ',' + b)
    X_test_content_rdd = sc.wholeTextFiles(X_test_files).map(lambda row: (row[0].split('/')[-1][:-6], row[1]))
    X_test_rdd = X_test_content_rdd.join(X_test_idx).map(lambda row: row[1])

    print('****************************')
    print('Done Read Test Data\n')

    return X_test_rdd