ci: add testing of collect.py scan method