add tests for issue28, which was resolved in v1.0.1. closes #28.