Pakistan win first test against West Indies