Existing code is a result of auto-generating code from an old spreadsheet based testing framework. It's hard to read, hard to debug and slow.