Bugs on L2InitHandshake class fixed. Implementation of TestMode for L1InitHandshakes