Add some test with canvas javascript