[PATCH v4 3/4] actctx/tests: add tests