fixed broken specs and added spec for deck