Test for fit_transform(X) does the same as fit(X).transform(X) Issue #1687

Added test if fix(X).transform(X) is same as fir_transform(X)
The tests are passed.
Suggestions welcome.