Tests improve code quality, but only for the parts of the code base that are actually being tested.
You need a tool that tells you which parts of a program are not being tested so you can write tests for those parts and find more bugs.
If it isn't tested it's buggy.