Adjust a couple of tests prone to false positives.