better deprecation tests