Modification of the $timout.cancel in clearTimout to allow e2e test. Start writing e2e tests but sadly they are not functionnals yet.