moved junit helper stuff to base class