Coming late to the party, sorry for that.

Nice test, however @Manoj-Kumar-S could please avoid using `X.todense()` but rather use `X.toarray()` instead in the future? `todense` returns a `numpy.matrix` instance which has a very confusing matlab-like API and we rather want to only deal with `numpy.ndarray` instances throughout the code base.

Here this is just a test so this is not a big deal, but for the sake of consistency it's better to take good habits as early as possible.