Use test_shell instead of shell_stub

It should make a difference on windows