Fixing check for start/end params when testing leds