This block (lines 297-299) appears to be missing test coverage.