Import the lost source of the canvas tests from hg.