build tests with a lot more warnings. Fix some of the issues they highlight