tests: Make valgrind generate suppresion when error was found

Change-Id: I3ca0428c580389a785765b5bd56955908283444d