before auto testing