Fix get_adjacent_items() unit tests

I should not have merged #324 before investigating why the Travis builds failed.

It turns out `phpunit` didn't fail locally because I had `debug-utils.php` loaded as a must-use plugin on my test install.