test: factor out $it, an angular async it