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