test_core: add test for spy.chain.auto_fragments