[PATCH 4/4] selftests: ktap_helpers: Add a helper to finish the test