sublist: Fix definition of test variable