Add spec about before and after filter