added spec for execute method