Fixed unit tests (at last!) for new Shepherd REalm