Fix #28

This is a simple fix for #28. It also enables the test added in 82c3a9e28bd3d4019fbc453d79e6937f0e1a08de.