add some tests for debug extension