Improved check for nosetest failures in test_notebooks.py
Notebooks are now always tested in a deterministic (sorted) order