Added all test from tutorial.
For running tests - "make test".