Adding tests for a copyAttrsTo method.
Adding a copyAttrsTo method to consolidate element attribute copying during conversion.

Closes #9
Merge pull request #15 from tableau-mkt/copy-attrs

Consolidating element attribute copying to a single method.