add spec for framework component