Fixes bug #101

Adds regression test for bug #101.

Closes #101