Fixing test exit code.