testing codes in student ipython notebooks