Add test for strict compilation warnings
2.10 patch