lint: Add regression tests for bounce detection