Alter the ./setup.py test command so that it creates a virtualenv under ./build and executes unittests with coverage there.