Test: add test for BasicCollectorHandler (partially)