KDE plotting was debugged and also, the original unit test are passing again