Changed assert to assertEqual in test_kde and test_kde_kwargs.