barseries unit test