Michael Feathers' "Working Effectively with Legacy Code" is a great book that I would recommend for such situations.
So it's not really about old languages or old code. It's pretty easy to write (or inherit) new, difficult to test code, with no tests, in whatever language you please.