Fix unit-tests after the $timeout change + clear the timeout on scope destroy