Adding more logic to the test engine with hopefully all states needed. Starting on the tx_buffer update logic.