namespace Test class Test def main is shared a as Object = Object() b as Object = Object() assert a is not b sb as StringBuilder = StringBuilder() sb.append('abc, ') sb.append('def') assert sb.toString=='abc, def'