Now diagram component class passed tests