Updated tests
Added tutorial as IPython notebook