extracted JUnitPanel class