add tests for gordon, trestles
fix handling of global virtenv