Adding tests for debounce