modified test case to allow overriding requests Collection and it's logic

In some cases it's impossible to test custom plugins API using current Collection class (API url's are being rejected). Purpose of this PR is to allow overriding this logic and use plugin's own test case for testing.