Merge "Add test API to change the exit transition timeout."