Cleanup tests and add assertions that all deprecated tests log warnings, and all non deprecated tests don't.