Good catch. collector class and instance in ctx is removed and doesn't need to be mocked anymore. Removing that line.