update spec helper and add books class