Exclude tests directory from installation.

This fixed bug #1146340 by excluding tests packages.

Change-Id: Id892c0a2e521a199a9ac42ed8d3729e17fffb5bd
Merge "Exclude tests directory from installation."