Refactor CorridorChecker unit test.

Fixes #38.