test.sh looks for node_modules/karma

For users who installed Karma globally (like me), test.sh threw an error; it could not find../node_modules/karma etc.
I fixed this by changing test.sh to point to my (Windows) C:\Users\{User}\AppData\Roaming\npm\node_modules... etc,
But a better solution (?) is to install locally; the tutorial preface did not provide clear instructions about this http://docs.angularjs.org/tutorial