add test_irq

Tests for bug fixed by
https://github.com/RIOT-OS/RIOT/pull/245