making command test cross platform