exit test on fail with correct code
fix i-ajax.js test
Merge pull request #155 from delfrrr/delfrrr.check-fail

exit test.sh on fail with correct code