remove useless lines and write first test for collector