Add spec for writer module.