Electrical Bit-error-rate testing