Exclude tests from installation

See also https://bugs.gentoo.org/show_bug.cgi?id=455250