added test

per edit
Merge pull request #1 from akloeckner/patch-1

looks good
Merge pull request #1 from akloeckner/master

please pull my test changes