Updated tests. Adjusted tutorial.