basic junit test for event barrier worked!