remove upgrade, as_imaginary and as_dry in tests when the resulting typedef is not used