Test community graph builder