[TEST] Add test to ensure master is not prone to #8917