Added exclude patterns for unit tests and test builds.