def METHOD_NAME(self):
    """
    Test for generator when 'morgan_count' feature generator is provided
    """
    global_features = generate_global_features(self.mol[2],
                                               self.feature_generators[4])
    assert len(global_features) == 2048
    nonzero_features_indices = global_features.nonzero()[0]
    assert len(nonzero_features_indices) == 24
    assert nonzero_features_indices[0] == 389
    # number of indices where feature count is more than 1
    assert len(np.where(global_features > 1.0)[0]) == 8