Added unit tests for crossing transitions