Add shared spec for command duck type