test coverage for create_virtual_environment