test prepare process