Preprocess test1