test/unit: allow running test directly

Change-Id: Ib819ce7051f2152f8cca89ac28196209a56dd0c1
Merge "test/unit: allow running test directly"