How to test accuracy of an unsupervised clustering model output?
Since you have the actual labels, you can compare them with the obtained labels and evaluate performance. Typically purity and nmi (normalized mutual information) are used. Read this (Evaluation of Clustering) document for detailed explanation.

If you don't have actual labels then you can use modularity or [Silhouette] for measuring clustering performance.