Pseudolikelihood ratio test with biased observations