[PATCH v8 2/2] actctx/tests: add tests