Add some debug statements in IrminView
Minor refactoring in the tests

- separate the import/export test from the view ones
- fix the test-cases

Now all the tests pass again.