class Test def main is shared i = 0 assert i==0 i = 1 assert i==1