adds unit tests for Discourse.debounce