tests with the fabric.js library