Moved integration tests into their own package, to ensure they don't depend on package-protected methods. Implemented access to all queue stats.
File left out from prior commit.