test-requirements.txt + workaround nodepool dep.

Added a proper test-requirements.txt to set up all the test dependencies
in one go. To avoid the need for the nodepool, the import has been moved
to the inside of the class.