Added test and fix for new use case
Added test and fix for new use case
Merge pull request #3 from jbaumbach/master

Updated code to handle a specific use case, and added a test