add line instance in junit test