Refactoring of test_common
Use the right debug functions in IrminQueue
Add (failing) test for IrminQueue