Couldn't add the refactoring in seperate commits so history is messy
Better logging is provided with rich lib and using the logging module Activity tab test has better error handling and hardcoded loop for CID's