```ruby
require 'xpool'
require 'minitest/mock'
require 'test/unit'
```

Add debug switch to test environment.
user
```ruby
require 'xpool'
require 'minitest/mock'
require 'test/unit'
XPool.debug = ENV.has_key? "DEBUG"
```
assistant