A set of modifications to get correct test results by the shell commands