add failing test for before_release

See [rt.cpan.org #84744].
make before_release trigger during release

Fixes [rt.cpan.org #84744].