scrub: add test

Closes #26778.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>