Added support for JUnit Rule and created junit example