Bring in test for 478

Fixes #478

This is a modernization of the test added to stable for #478
Make old Test::More still work with newer Test::Builders

Fixes #479