Fixing cancel test