improved doc and added test for comm package