ENH in transformer pickle test, only test transformers that provide a 'transform' method. and only test that.