Tests for error cases with Timeline.setInstruments.