diff --git a/test/test_builder.rb b/test/test_builder.rb
index <HASH>..<HASH> 100644
--- a/test/test_builder.rb
+++ b/test/test_builder.rb
@@ -75,7 +75,6 @@ class TestBuilder < Test::Unit::TestCase
       pop
       aload 0
 #      monitorexit
-      label :end
       trycatch(:begin, :finally, :finally, nil)
       trycatch(:finally, :end, :finally, nil)
       after.set!
@@ -171,7 +170,6 @@ class TestBuilder < Test::Unit::TestCase
       label :catch
       ldc 2
       ireturn
-      label :end
       trycatch(:begin, :catch, :catch, java.lang.Exception)
     }
   end
diff --git a/test/test_bytecode.rb b/test/test_bytecode.rb
index <HASH>..<HASH> 100644
--- a/test/test_bytecode.rb
+++ b/test/test_bytecode.rb
@@ -394,7 +394,8 @@ class TestBytecode < Test::Unit::TestCase
   
   def test_label
     l1 = label
-    assert_equal([:visit_label, l1.label], l1.set!)
+    l1.set!
+    assert_equal([:visit_label, l1.label], @dummy.all.first)
   end
   
   def test_aprintln
fix tests to work with changes to SmartLabel