Add toDataURL test
Merge pull request #162 from greggman/add-to-data-url-test

Add toDataURL test