Added test for fit_transform(X)==fit(X).transform(X)
Fixed pep8 issues
Merge pull request #1688 from hrishikeshio/fit_transform

Test that fit_transform(X) does the same as fit(X).transform(X); fixes #1687