Added refined tests and the beginning of a tutorial