add spec for recording listener