Possibly fix spurious test failes

Hopefully this will fix the annoying spurious test failures kitty has been showing.