Allow tests to be run under the auspices of valgrind.

For example:

  make VALGRIND='valgrind --quiet' test

Signed-off-by: Andrew McDermott <andrew.mcdermott@frobware.com>