Helper function to facilitate profiling
 Different approach for integration tests.
 Remove abipy.core.exceptions
 Integration test for band structure flows (requires py.test and abinit >= 7.9)