Move tests out of package to top level directory

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-243 into branch/2.5