Improving test coverage on system of record before refactoring