Cleaned up dbscan test script and fixed bugs in DBSCAN expand_cluster