exit with test exit code.