added spec for building summary method