[tests] adapt LinearSystem tests