added a test and documentation on the new virtualenv option - fixes #375