refactoring into multiple components
refactor into two components, the junit rule and a pure test oriented embed server