framework for JUnit test injection and lifecycle hooks