Test code removed.
Methods previousTransition and nextTransition renamed to from and to.