Treat warnings as errors in test project