dbscan class and test that works