Add more tests and fix bug that relies on active support.
- test the transition method