base: Add a test for T10412

Authored by bgamari on Apr 20 2018, 12:54 PM.