unitests: make test_env.setup optional

Change-Id: I07bf9c0e4edcf93f6983dec5789daeaced22b324