Fix JunitTest on Java 9+
Fix JunitTest on Java 9+

Summary: This was removed in D21918314 which broke running tests on Java 9+, so restoring here.

Reviewed By: mykola-semko, irenewchen

shipit-source-id: c421052f9c171b365ac8d55b2d415eb47ecda76e

JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck