publish filter, using async promises, with unit test