Test for the transitionmodel2 template.