Added test bench and reset ba