Fixed Unit tests and added a Louvain table synthesizer/tests

This branch fixes unit tests and adds a louvain table synthesizer to map nodes to communities easier.