use randombytes in functest Got dropped by the rebase Work around missing clang-tidy on Travis Also check if valgrind is available