Added usedInAWith tests and found regression