more strict test for mock_sh