Test of connection state of automobile battery line