Deal with different test listing formats.