Add transition tests to diagram core tests