Add tests for initialization, debounce & throttle