convert to junit4, also add assert for matching a particular log