fix specs after refactor in preparation for pagination