fix failing tests caused by new junit version