vtest.yml contains some config checks that are used to check the memleaks. This patch adds a unit test which runs the same tests.