Disable hidden API checks on unit tests

Tests still fail with NoSuchMethodError / NoSuchFieldError but it would
be expected without this option.

Test: tests build, although they fail as much as previously
Merged-In: I0e4517312cac9b37537eee55eafd811aff531ea8
Merged-In: I012a1ce8483f5fdddf60cfd33ea4303d72455fca
Change-Id: I25e225212fb3b3bb90ddfb66d9bd92b3efd1a4cd
2 files changed