Globally shut down protobuf library after testing

This is needed to make valgrind happy. If it is not present, it
complains about a lot of possible unreachable memory.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>