Add annotation processors for compiler avoidance and disable build caching for tests. Closes #673
Original pull request #624