added tests of setTransitionDuration method.