[PATCH] kunit: test: Use an action wrapper instead of a cast