Add script for running Valgrind on test files.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>