Add test coverage for before/after method/class annotations

Bug: 231292654
Test: java -cp ./out/host/linux-x86/framework/vogar-tests.jar \
      org.junit.runner.JUnitCore vogar.target.testng.AllTestNgTests
Change-Id: I536f8dc7c75d32ee85f5e7e7abb9e83020293afc
3 files changed