moves virtualenv installation to after mock init