Studying the co-evolution of production and test code in open source and industrial developer test processes through repository mining