Fixes in test

- Workaround for a Python 2.6/2.7 bug, that was triggered by check_niimgs()
- Make tests/test_signals.py work with numpy 1.3.0.