Why the build does not fail in case of test errors?