Debounce routines with a test.