update test, because of the toDataURL method will returning different value under different environment