Move test exclusions to config files

Change-Id: I4c9eb19bc2b9487747adb3b7b5f9f0978b96eed7