Remove some test warnings.

Also removed some tests for deprecated items. Unsure if it's the right thing to do?