Ensure we always compile test code, in case plugins need it.
Merge bug 26216