Update run-tests.sh

Better public key check
Merge pull request #10 from sarciszewski/patch-1

Update run-tests.sh