Graphical tests

Addition of tests of the graphical part. 

Request to merge to master.