Tests under fabricjs.