add integration test for cleaning DB of extra chapters