Method bar() uses class Test which will be inaccessible after move
