(MODULES-660) Tests for issue coverage

This doesn't fix the issue, just adds a test to find it.