Adds tests to address issue #10.
Merge pull request #11 from jeremykendall/fix/issue-10

Adds tests to address issue #10.