add failing test for PreviousVersionProvider error

See [rt.cpan.org #84359].
throw correct error for no PreviousVersionProvider

Fixes [rt.cpan.org #84359].