refactor filter to body_to_div, change test accordingly