Test of homogeneity in semiparametric two-sample density ratio models