Fix spurious failing test