removed unchecked warning
added test for barrier on tower node; removed static id creation