add spec for testing