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