test self and internal transition