test:test_irq initialized `j` with 0

initialized `j` with 0 to get rid of `warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]`