[RESEND RFC PATCH v1 20/20] selftests/vm: add two functions for debugging merge outcome