added run capabilities for JUnit test