better test, which should work on Windows or without git installed