Added testing code for canvas and some graphical elements (#10, #11, #9)