Changed method of detecting bad connections
Uncommented decoder tests