Fixed some false positives in tests