Add exit code test.