Patching after gem updates

Couple of minor adjustments to get Sufia working with the latest Hydra gems.
If you have an expectation like this, then you shouldn't also have the count test below. :+1: