test for transition