Tests with box2d and canvas api