added run-tests.sh

this file can be used as a git pre-commit hook.