Making the init and next flags self resetting. Updating the testbench to not reset flags.