add tests to the debounce service