Move deprecation warnings into test fixture

@cpennington if you please
Yes - by manually adding it. Look now :)