The remainder of this test doesn't evaluate the output of `transform` to it doesn't really test the `sparse=False` setting. I think it should be deleted.