Test reproduces issue #5

Throws an error when when calling