Add tests for `spotlight.debug`