more unit tests for ActionContext