fix shell unit test setup