Changed to pytest.parametrize in version 2.4 makes life easier and little change in test_bands.py
Ensure that Travis use the latest pytest version