spec testing changes, errors caught