Is there a test that covers this exception? Everything else seems well covered but this case.