more cancel and main testing