Change diagram.core test