[fix] a fix in regular expression in scripts/check_installation, solved [#32]

scripts/check_installation now returns error value when a test fails