fix admin_proj.t
fix the rest of the tests
fix warnings in some tests